package com.yfjin.hooksurface;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.yfjin.hooksurface.databinding.ActivityMainBinding;


public class MainActivity extends AppCompatActivity {


    static {
        System.loadLibrary("hookcpp");
    }

    private ActivityMainBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = ActivityMainBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());


        binding.aaa.setText(stringFromJNI());

    }

    public native String stringFromJNI();
}